local skill = fk.CreateSkill{
  name = "iberia__jinwu_viewas"
}

Fk:loadTranslationTable{
  [skill.name] = "矜武",
}

skill:addEffect("viewas", {
  expand_pile = function (self, player)
    return self.cards
  end,
  card_filter = function (self, player, to_select, selected)
    return #selected == 0 and table.contains(self.cards, to_select)
  end,
  view_as = function (self, player, cards)
    if #cards > 1 then return end
    local card = Fk:cloneCard("slash")
    card.skillName = "iberia__jinwu"
    card:addSubcards(cards)
    return card
  end
})

return skill
